package com.linrui.gift.client;

import com.linrui.gift.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
@Configuration
@FeignClient(value = "GIFT-SYSMANAGE",fallbackFactory = TenantFallbackFactory.class)
public interface TenantClient {
    @PutMapping("/tenant/{id}")
    AjaxResult get(@PathVariable("id") Long id);
}
